package myTest.classes

class Person {

    var id: Int = 0
        get() {
            println("id=$field")
            return field
        }
        set(value) {
            println("setId=$value")
            field = value
        }

    fun funParmas(vararg num:Int,string: String){

    }
}


fun main(args: Array<String>) {

    Person().funParmas(1,1,2,3,string = "666")
}